This Appendix contains the files necessary to estimate the models in "Simple Bayesian Inference--for Qualitative Research"

'bftest.txt' is a text file with R code for the univariate B-F model with uninformative priors.

'poistest.txt' is a text file with R code for the univariate Poisson model, with informative or uniformative priors.

To run either, simply paste the text into R. Both take as required inputs two vectors of data (e.g. x<-c(5,5,4,4,3) y<-c(4,4,3,3,) to replicate the drawing counts in the paper). With these data, the commands "bftest(x,y)", "poistest(x,y)", "poistest(x,y,ax=25,bx=.2,ay=16,by=.25)" will replicate the individual plots in Figure 1 of the paper.

'mvBF.odc' is a WinBUGS file that will replicate the multivariate B-F model described in the text.

Any questions, please contact:

Jack Buckley
Department of Educational Research, Measurement, and Evaluation
Boston College
Lynch School of Education
bucklesj@bc.edu